<?php
//引入初始化文件
include '../init.php';
//引入数据库文件
include DIR_CORE . 'mysql.php';

$title = '沐水莲心-考生信息';

// 判断用户是否登录
login();
session_start();
$name = $_SESSION['userInfo']['name'];
$sql = "select * from user where name= '$name'";
$res = mysqli_query($link, $sql);
$row = mysqli_fetch_assoc($res);
//引入视图文件
include DIR_VIEW .'userInfo.html';
